package com.scs.application.modules.device.service.impl;

import com.scs.application.core.service.BaseServiceImpl;
import com.scs.application.modules.device.entity.DevicePlanItem;
import com.scs.application.modules.device.mapper.DevicePlanItemMapper;
import com.scs.application.modules.device.service.DevicePlanItemService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Collection;

/**
 *  设备计划明细 服务实现类
 */
@Service
public class DevicePlanItemServiceImpl extends BaseServiceImpl<DevicePlanItemMapper, DevicePlanItem> implements DevicePlanItemService {
    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean saveOrUpdateBatch(Collection<DevicePlanItem> entityList) {
        return super.saveOrUpdateBatch(entityList);
    }
}